<?php


namespace app\zftpay\controller;




use app\BaseController;

class Index extends BaseController
{
    public function getData(){
        $bannerList=array(
            "type"=>"carousel",
            "list"=>[
                // array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/06.jpg","model"=>"link","url"=>"https://s.click.taobao.com/lj2qQ4u"),
                //array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/images/banner01.png","model"=>"link","url"=>"alipays://platformapi/startapp?appId=2018090361258298&page=pages%2Findex%2Findex&query=type%3Dmini%26portalEnv%3Donline%26url%3Dhttps%253A%252F%252Fmapi.zjzwfw.gov.cn%252Fweb%252Fmgop%252Fgov-open%252Fzj%252F2001833298%252Freserved%252Findex.html"),
                array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/images/banner02.png","model"=>"local","url"=>"/pages/zft/pay?id=1"),
                // array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/images/banner02.png","model"=>"link","url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"),
                // array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/images/banner03.png","model"=>"link","url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"),
                // array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/images/banner04.png","model"=>"link","url"=>"https://h5.m.taobao.com/awp/core/detail.htm?id=749556760792&spm=a2141.7631565.tbshopmod-slide_poster.0&scm=1007.31166.221028.0&pvid=0184319c-6466-4796-915e-7fff7533cb7e"),
                // array("img"=>"https://www.hzymt.zfbzhsq.com/static/applet/images/banner05.png","model"=>"link","url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH")
            ],
            "style"=>array("marginTop"=>0)
        );
        $menuSingleOne1=array(
            "type"=>"menuSingleOne",
            "data"=>array("title"=>"小区服务"),
            "style"=>array("marginTop"=>0)
        );
        $menu1=array(
            "type"=>"menu",
            "list"=>[
                array("title"=>"物业缴费","model"=>"alipay","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/ele.png",
                    "appid"=>"2019032863710519","path"=>""),
                array("title"=>"手机充值","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/recharge.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021001107610820%26page%3Dpages%252Ftop-up%252Fhome%252Findex%26enbsv%3D0.2.2201172105.47%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3DAEBDD13E-5168-4B40-A001-B959D732785C"),
                array("title"=>"水电燃缴费","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/icon/ele.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021001164644764%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2202111039.25%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3DB1A3CBD8-F667-440E-B201-23463878FE6A"),
                array("title"=>"车生活","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/car.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021001136634093%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2202101439.18%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D69805AB6-6276-4643-A232-D9F5C0E84EA0"),
                array("title"=>"我的快递","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/express.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021001102660294%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2201261756.55%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D8037BFF2-817A-4D4D-8F3F-8DAD1ACEE0E2"),

            ]
        );
        $menuSingleOne2=array(
            "type"=>"menuSingleOne",
            "data"=>array("title"=>"生活服务"),
            "style"=>array("marginTop"=>0)
        );
        $menu2=array(
            "type"=>"menu",
            "list"=>[
                array("title"=>"领红包","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/10.png",
                    "url"=>"https://render.alipay.com/p/c/alipay-red-qrcode/shared.html?chInfo=saoyisao&channel=qrCode&shareId=2088102690661313&sharedId=2088112919398737&sign=i%2BJ4zC5XUANKV8T4WbKUm9eVJWoI62mQ%2BSC2KYbC1Kw%3D&token=11w19342kszxakveklhev97&campStr=kPPFvOxaCL3f85TiKss2wsBZgIjulHjG&bizCode=REDPACKET_NORMAL_ud4BSevibgro&c_stype=album&c_time=1663929835374&c_sign=gs8cifS%2FHnxSrY%2FzQopBRS7rPgh2iD9QbHiM2yEXNuc%3D&__webview_options__=enableCube%26cubeRuntimeRequired%3d7&fxzjshareChinfo=ch_share__chsub_CopyLink&apshareid=2525b9e6-1c3d-4500-9ce1-97e7942e4ad4&shareBizType=mrfx"),
                array("title"=>"爱心公益","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/1.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2019052265312523%26page%3D%252Fpages%252Findex%252Findex%26enbsv%3D0.2.2202091824.39%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D8540C48D-2CAD-49F4-8ADA-031F1B432E1B"),
                array("title"=>"公积金查询","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/2.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2019060365493242%26page%3D%252Fpages%252Findex%252Findex%252Findex%26enbsv%3D0.2.2201300918.3%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D77CBB754-ADFC-45E0-88DB-ACBFA6321253"),
                array("title"=>"医疗健康","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/medical.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2018091361395351%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2201261942.25%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D7694D488-3EFE-4847-8B72-9652EBD765AD"),
                array("title"=>"家政到家","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/home.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021002130684342%26page%3D%252Fpages%252Fhome%252Findex%253Fsource%253D3537%2526pid%253D%2526utmSource%253D%2526spm%253D%2526tf_city%253D%2526tf_media%253D%2526tf_cate%253D%2526weixinadinfo%253D%2526gdt_vid%253D%26enbsv%3D0.2.2202111741.4%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D7E99B273-A5A7-4D44-8B12-83C9DAE80EAC"),
                array("title"=>"杭州业主卡","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/杭州业主卡.png",
                    "url"=>"alipays://platformapi/startapp?appId=2018090361258298&page=pages%2Findex%2Findex&query=type%3Dmini%26portalEnv%3Donline%26url%3Dhttps%253A%252F%252Fmapi.zjzwfw.gov.cn%252Fweb%252Fmgop%252Fgov-open%252Fzj%252F2001833298%252Freserved%252Findex.html"),
                array("title"=>"支付宝就业","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/支付宝就业.png",
                    "url"=>"alipays://platformapi/startapp?appId=2021003160674131&page=pages%2Findex%2Findex&enbsv=0.2.2311211659.21&fxzjshareChinfo=ch_share__chsub_CopyLink&apshareid=33F762AF-26AA-458B-8543-838DAC9FAFBF&shareBizType=H5App_XCX&shareTimestamp=1701051022399"),
                array("title"=>"电子医保卡","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/3.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D20002069%26fromSource%3Dshare%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D86403264-68D4-4070-B74B-8FF35348743A"),
                array("title"=>"电子社保卡","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/4.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D20000067%26url%3Dhttps%253A%252F%252Frender.alipay.com%252Fp%252Fs%252Fmedical-card-online%252Fwww%252Findex.html%253F__webview_options__%253D%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D2AD5433F-2610-4D2B-81C6-1F336D1357AC"),
                array("title"=>"支付宝运动","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/5.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2019072565980504%26page%3Dpages%252Findex%252Findex%253FchInfo%253Dself_share%26enbsv%3D0.7.2205232016.22%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D934341FE-0F02-4F7D-BC7E-B3CCF8C8313C"),
                //array("title"=>"淘宝皓视通","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/6.png",
                //    "url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"),
                array("title"=>"蚂蚁回收","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/7.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021002193653882%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2112301103.0%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3DD8E67EFE-33B3-47D4-AA3C-8B9F96071167"),
                array("title"=>"云宠生活","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/8.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021002142629699%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2202122229.30%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3D28A94DAD-C136-43B3-8EC6-E8E5A729E068"),
                array("title"=>"高德打车","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/9.png",
                    "url"=>"https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2018070960585195%26page%3Dpage%252Fmap-index%252Fmap-index%26enbsv%3D0.5.2202281634.48%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3DED35ED6C-3E45-4F0D-8B67-71165BF780E5"),
                //array("title"=>"早早智慧社区","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/zaozao.png",
                //  "url"=>"http://p.alipay.com/P/2r6I372V"),

            ],
            "style"=>array("marginTop"=>0)
        );
        $menuSingleOne3=array(
            "type"=>"menuSingleOne",
            "data"=>array("title"=>"安装维修升级"),
            "style"=>array("marginTop"=>0)
        );

        $menu3=array(
            "type"=>"menu",
            "list"=>[
                array("title"=>"监控摄像头","model"=>"local","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/监控摄像头.png",
                    "url"=>"/pages/index/img?imgUrl=https://www.hzymt.zfbzhsq.com/static/applet/camera/%E7%90%83%E6%9C%BA02.jpg"
                ),
                array("title"=>"停车道闸","model"=>"local","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/停车道闸.png",
                    "url"=>"/pages/index/img?imgUrl=https://www.hzymt.zfbzhsq.com/static/applet/camera/%E8%BD%A6%E7%89%8C%E8%AF%86%E5%88%AB.jpg"
                ),
                array("title"=>"人脸识别","model"=>"local","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/人脸识别.png",
                    "url"=>"/pages/index/img?imgUrl=https://www.hzymt.zfbzhsq.com/static/applet/camera/%E4%BA%BA%E8%84%B8%E8%AF%86%E5%88%AB.jpg"
                ),
                array("title"=>"可视对讲机","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/可视对讲机.png",
                    "url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"
                ),
                array("title"=>"梯控","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/梯控安装.png",
                    "url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"
                ),
                array("title"=>"led户外屏","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/led户外屏.png",
                    "url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"
                ),
                array("title"=>"电动玻璃门","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/电动玻璃门.png",
                    "url"=>"https://shop199095244.taobao.com/?spm=a230r.7195193.1997079397.90.714d4691yWYVaH"
                ),
                array("title"=>"考勤门禁","model"=>"local","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/考勤门禁.png",
                    "url"=>"/pages/index/img?imgUrl=https://www.hzymt.zfbzhsq.com/static/applet/camera/%E4%BA%BA%E8%84%B8%E8%AF%86%E5%88%AB.jpg"
                ),
                array("title"=>"联系我们","model"=>"contact","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/phone.png",
                    "mobile"=>"18357146762"
                ),

            ]
        );

        $menuSingleOne4=array(
            "type"=>"menuSingleOne",
            "data"=>array("title"=>"购物游玩出行"),
            "style"=>array("marginTop"=>0)
        );

        $menu4=array(
            "type"=>"menu",
            "list"=>[
                //  array("title"=>"订景区门票","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/订景区门票.png",
                //  "url"=>"https://ai.m.taobao.com/index.html?pid=mm_30692131_2215150182_111422600282&union_lens=lensId%3APUB%401701259515%40213f33a6_1056_18c1af81735_080d%4001"
                //  ),
                array("title"=>"购iPhone 15","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/apple.png",
                    "url"=>"https://s.click.taobao.com/lj2qQ4u"
                ),
                array("title"=>"火车票","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/订火车票.png",
                    "url"=>"https://s.click.taobao.com/A35Gx4u"
                ),
                array("title"=>"订机票","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/订机票.png",
                    "url"=>"https://s.click.taobao.com/t?e=m%3D2%26s%3DORJz0th1LHhw4vFB6t2Z2iperVdZeJviv2laukthwYj87chln4NoyiEYn6vH%2BkJPuv8hvmwdL6HH27iyOPIs8u4k252h0M2hC%2BwHHVf0pAKQdqMTPwbmakPino3JgwuJdZr7RBnLmJpCxv%2FGQvdA7B4N0UWArWnPEQLDuPf6kdx8isIqg9litAZn%2By0keumo%2BZfd2NeWwh3jsUeN%2BwBy2Wvc0fJabSRLYvz2YCkrv%2Fc2uYpNL5DeGMLXcLizgwqdqxq4PTJNerD3o6el1BCqlRRGVYMNxmrGbyCAd1ZhjcKPFADQH91wYDmEMK4TxNIs&union_lens=lensId%3APUB%401701259016%40213fc5dc_0c71_18c1af07934_0b2f%4001%40eyJmbG9vcklkIjozMDczNywiic3BtQiiI6Il9wb3J0YWxfdjJfdG9vbF9saW5rc19wYWdlX2hvbWVfaW5kZXhfaHRtIn0ie "
                ),
                array("title"=>"订酒店","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/订酒店.png",
                    "url"=>"https://s.click.taobao.com/t?union_lens=lensId%3APUB%401701259343%400bb57279_0da8_18c1af5779f_4664%4001%40eyJmbG9vcklkIjozODg1Miiwiic3BtQiiI6Il9wb3J0YWxfdjJfcGFnZXNfYWN0aXZpdHlfb2ZmaWNpYWxfaW5kZXhfaHRtIn0ie%3BeventPageId%3A20150318020013212&e=m%3D2%26s%3D7ARi0xx2S%2Flw4vFB6t2Z2iperVdZeJviv2laukthwYhnX1vWUft3ZSEYn6vH%2BkJPzum3%2Bib1UJ%2FH27iyOPIs8u4k252h0M2hC%2BwHHVf0pAKQdqMTPwbmakPino3JgwuJogfc9UhHI0nJJ9nQqEjauDvyWEyesONrKaFSJePRPq4zuTGl041QAjVw4fa5OHVC47FHjfsActk7kJwmAcM4EgxnIMvNmKhr%2B%2B6178hNxuT9dYsmrB8WC%2FTSY5T9EA3y42eZNU8odRXUH55VCRsNT9CsZ5CAjYXx%2Br%2B8E0bSfA6GESh0biTb8gwZasRAg82RNYAvnz9yAB1nc0QrfGmolnV7bVmHoSBD5wealhvKxmk%3D"
                ),
                array("title"=>"预定度假游","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/预定度假游.png",
                    "url"=>"https://s.click.taobao.com/t?union_lens=lensId%3APUB%401701259428%402104be69_0ba1_18c1af6c291_124f%4001%40eyJmbG9vcklkIjozODg1Miiwiic3BtQiiI6Il9wb3J0YWxfdjJfcGFnZXNfYWN0aXZpdHlfb2ZmaWNpYWxfaW5kZXhfaHRtIn0ie%3BeventPageId%3A20150318020016378&e=m%3D2%26s%3Dh7zIuQU24jJw4vFB6t2Z2iperVdZeJviv2laukthwYhnX1vWUft3ZSEYn6vH%2BkJPvzLeI68d3XTH27iyOPIs8u4k252h0M2hC%2BwHHVf0pAKQdqMTPwbmakPino3JgwuJogfc9UhHI0nJJ9nQqEjauDvyWEyesONrKaFSJePRPq4zuTGl041QAojfEWZA48xv%2FU8rtM5Ck6m1jhC3ZxnWVf5Jyoh8jZ5843XwfFcbbmy7OJSXthH1IazfWeGY9tJu98%2BrN2XNcmXNo609ozfXMvgVFFI9r9UbZl3f7lAQQFbzpJiFoWyLopvgoxHvRwvVcA5D31jL1CVHp5kBBPkPNKnjOE6f5gsp2inxhzG97eJnc0QrfGmolqckuy5wyRtJIbuoosBDDs8%3D"
                ),
                array("title"=>"淘宝热卖","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/淘宝热卖.png",
                    "url"=>"https://s.click.taobao.com/21dHU4u"
                ),
                array("title"=>"淘抢购","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/淘抢购.png",
                    "url"=>"https://s.click.taobao.com/2PAFx4u"
                ),
                array("title"=>"天猫超市","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service1/天猫超市.png",
                    "url"=>"https://s.click.taobao.com/9YhIU4u"
                ),
                array("title"=>"天猫国际","model"=>"link","img"=>"https://www.hzymt.zfbzhsq.com/static/applet/service/天猫国际.png",
                    "url"=>"https://s.click.taobao.com/e7hIU4u"
                ),



            ]
        );
        $res["code"]=0;
        $res["data"]=[$bannerList,$menuSingleOne1,$menu1,$menuSingleOne2,$menu2];//,$menuSingleOne3,$menu3$menuSingleOne4,$menu4,
        return json_encode($res);
    }

}